<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h2>这是查看用户页面</h2>
	<table class="querytable" align="center" width="60%">
		<tr>
			<th class="textright">用户名：</th>
			<td class="textleft">${users.username }</td>
		</tr>
		<tr>
			<th class="textright">用户角色：</th>
			<td class="textleft">
				<c:if test="${users.userRoles eq '01'}">管理员</c:if>
				<c:if test="${users.userRoles eq '02'}">客户</c:if>
			</td>
		</tr>
		<tr>
			<th class="textright">昵称：</th>
			<td class="textleft">${users.nickName }</td>
		</tr>
		<tr>
			<th class="textright">电话号码：</th>
			<td class="textleft">${users.tel }</td>
		</tr>
	<%-- 	<tr>
			<th class="textright">邮箱：</th>
			<td class="textleft">${users.Email }</td>
		</tr> --%>
		<tr>
			<th class="textright">注册时间：</th>
			<td class="textleft">${users.regTime }</td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="button" value="返回" onclick="window.history.go(-1)" />
			</td>
		</tr>
	</table>

</body>

	<link rel="stylesheet" href="${pageContext.request.contextPath }/css/editTablestyles.css" />
	<script type="text/javascript" src="${pageContext.request.contextPath }/webjars/jquery/1.12.4/jquery.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/js/listTable.js"></script>


</html>